package awesomeDocumentIO;

import java.awt.Color;
import java.util.HashMap;

import document.AwesomeDocument;

public class test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		AwesomeDocument doc = new AwesomeDocument(".exe", "Test");
		HashMap<String, Color> map = new HashMap<String, Color>();
		
		map.put("switch", Color.black);
		map.put("if", Color.green);
		doc.setLibrary(map);
		AwesomeDocumentExporter.exportDocumentType(doc);
		map = AwesomeDocumentImporter.importDocumentType("Test").getLibrary();
		for(String key : map.keySet())
			System.out.println(map.get(key));

	}

}
